package com.System.service;

import com.System.pojo.*;
import com.System.pojo.Post;

import java.util.List;

public interface Bar {
    public com.System.pojo.Bar selectOne(String name);
    public List<Post> selectAllPosts(Post post);
    public List<Post>selectOutOfMyPosts(Post post);
    public void addFocus(User_Bar_Relationship userBarRelationship);
    public  User_Bar_Relationship hasFocus(User_Bar_Relationship userBarRelationship);
    public void deleteFocus(User_Bar_Relationship userBarRelationship);
    public void addPinPost(Post post);
    public Post selectPinPost(String name);
    public void deletePinPost(String name);
    public Post hasPinPost(String name);
    public void updateBarOwner(User_Bar_Relationship userBarRelationship);
    public void addRelationShip(User_Bar_Relationship userBarRelationship);
    public void updateBarTableOwner(User_Bar_Relationship userBarRelationship);
    public void updateNowNumber(com.System.pojo.Bar bar);
    public com.System.pojo.Bar selectNowNumber(com.System.pojo.Bar bar);
    public Ban hasBan(Ban ban);
    public void deleteBan(Ban ban);
    public void addBan(Ban ban);
    public void deleteReport(Report report);
    public List<Report>selectAllReport(Report report);
    public void addReport(Report report);
    public Report hasReport(Report report);



}
